package com.youbff.task;

import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import com.youbff.task.core.init.ApplicationStartup;

/**
 * 任务分发平台入口
 * @author lixuefeng
 * @email youbff@163.com
 * @time 2018年1月25日 上午11:21:12
 */
@SpringBootApplication
@EnableBatchProcessing
public class BatchTaskApplication {
    
    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(BatchTaskApplication.class);
        springApplication.addListeners(new ApplicationStartup());
        springApplication.run(args);
    }
}
